<?php
namespace support\command;
use app\api\model\User\UserModel;
use support\command\Command;

class CreateController extends Command
{
    public function __construct()
    {
        parent::__construct();
        //这里可以加载你的组件（think-orm、redis等等）
    }

    public function handle()
    {
        //这里就是执行你的逻辑
        $userModel = new UserModel();
        var_dump($userModel->find(1)->toArray());
    }


}